package com.zzyl.serve.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.serve.domain.ElderFamilyRelation;
import com.zzyl.serve.domain.FamilyMember;
import com.zzyl.serve.vo.ElderFamilyRelationVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ElderFamilyRelationMapper extends BaseMapper<ElderFamilyRelation> {
    int addFamilyMember(FamilyMember family);

    List<ElderFamilyRelation> selectAllElderByFamilyMemberId(Long familyMemberId);
}
